package com.ruoyi.heima.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 新闻类型对象 tb_news_type
 *
 * @date 2025-02-10
 */
@Data
@TableName("tb_news_type")
public class NewsType extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 新闻类型ID
     */
    @TableId(value = "type_id", type = IdType.AUTO)
    private Integer typeId;

    /**
     * 类型名称
     */
    @Excel(name = "类型名称")
    private String typeName;

    /**
     * 父类型ID
     */
    @Excel(name = "父类型ID")
    private Integer parentId;
}
